import request from "@/utils/request"

// 查询蜂窝服务
export function getService () {
    return request({
        url: '/honeycombservices',
        method: 'get'
    })
}

// 新增蜂窝服务
export function addService (data) {
    return request({
        url: '/honeycombservice',
        method: 'post',
        data: data
    })
}

// 修改蜂窝服务
export function updateService (data) {
    return request({
        url: '/honeycombservice',
        method: 'put',
        data: data
    })
}

// 删除蜂窝服务
export function deleteService (id) {
    return request({
        url: '/honeycombservice/' + id,
        method: 'delete'
    })
}